import cv2
import sys
img = cv2.imread(sys.argv[1])
print(img.shape)
width = img.shape[1]
height = img.shape[0]

cv2.imshow("src",img)
dst = cv2.resize(img,(width,height-1))
cv2.imwrite("../new.jpg",dst)
print(dst.shape)
cv2.imshow("dst",dst)
cv2.waitKey(60*1000)
cv2.destroyAllWindows()